package org.example.redpacket.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author: hero生仔
 */
@Data
@Builder
@AllArgsConstructor
@ToString
public class ActivityEntity extends Entity{
    /**
     * 自增id
     */
    private Integer id;
    /**
     * 活动id
     */
    private String activityId;
    /**
     * 活动奖池金额
     */
    private BigDecimal totalPoolAmount;
    /**
     * 奖池剩余金额
     */
    private BigDecimal poolLeftAmount;
    /**
     * 创建时间
     */
    private LocalDate createTime;
    /**
     * 更新时间
     */
    private LocalDate updateTime;
}
